#pragma once
#include "XFtpTask.h"
#include <string>
class XFtpLIST :public XFtpTask
{
public:
    XFtpLIST();
    ~XFtpLIST();
    virtual void parse(const std::string &type, const std::string &msg);
    virtual void write(bufferevent *bev);
    virtual void handleEvent(bufferevent *bev, short what);
private:
    std::string getListData();
};

